package com.hystrix.feign;

import com.hystrix.fallback.MemberApiFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value="app-hystrix-member",fallback = MemberApiFallback.class)
public interface MemberApiFeignWithHystrix {
    @RequestMapping("/getMember")
    public String getMember();
}
